<?php

namespace app\api\controller;

use think\Response;
use think\exception\HttpResponseException;

/**
 * 控制器抽象基类
 */
class Error
{
    /**
     * 空方法
     */ 
    public function __call($method, $args){
        $re = Response::create(app()->getRootPath().'app/v_msg.tpl','view')->assign(['msg'=>'Controller does not exist!'])->header();
        throw new HttpResponseException($re);
    }

}